package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.pojo.User;

import java.util.List;

public interface UserMapper {
    User getUserById(@Param("id") int id);

    int addUser(User user);

    int deleteUser(@Param("id") int id);

    List<User> getAllUser();
}
